<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <!-- 轮播图 -->
    <jsp:include page="../include/meta.jsp">
        <jsp:param name="pageTitle" value="机构信息"/>
    </jsp:include>
</head>
<body>

<div id="wrapper">
    <jsp:include page="../include/head.jsp">
        <jsp:param name="menuIdx" value="6"/>
    </jsp:include>
    <jsp:include page="searchForm.jsp"/>
    <!-- 内容区域 -->
    <div class="container">

        <!-- 您的位置开始 -->
        <div class="location_wrap" style="border-bottom:1px solid #e5e5e5;">
            <p>您的位置：<a href="index.html">首页</a>&nbsp;&gt;&nbsp;<a href="organization.html">医疗机构信息</a>&nbsp;&gt;&nbsp;私立医疗机构</p>
        </div>
        <!-- 您的位置结束 -->

        <div class="main" style="margin:50px auto;">
            <h3>${bean.name}</h3>

            <p class="qrganization_text">
                ${bean.content}
            </p><br/>

            <div class="private_image">
                <c:set var="i" value="1"></c:set>
                <c:forEach items="${imageList}" var="image">
                    <img src="${image}" width="510px" height="300px" alt="体检机构图片" <c:if test="${i%4==0}"> style="margin-right:0;" </c:if>/>
                    <c:set var="i" value="${i+1}"></c:set>
                </c:forEach>
            </div>
            <div class="private_cont">
                <c:forEach items="${branchMap}" var="key">
                    <ul>
                        <li class="private_city">${key.key}</li>
                        <c:set value="1" var="i"></c:set>
                        <c:forEach items="${key.value}" var="branch">
                            <li>·<a href="${base}/institution/detail?id=${branch.id}">${branch.name}（分院）</a></li>
                            <c:if test="${i%3==0}">
                                <li class="private_city"></li>
                            </c:if>
                            <c:set value="${i+1}" var="i"></c:set>
                        </c:forEach>
                    </ul>
                </c:forEach>
            </div>
        </div>

    </div>
    <!-- 内容区域结束 -->
    <jsp:include page="../include/foot.jsp"/>
</div>
</body>
</html>